package com.jkoss.wine.shop.mapper;

import com.jkoss.wine.shop.entity.Shop;
import com.jkoss.wine.shop.entity.ShopOrderListExport;
import com.jkoss.wine.shop.vo.ShopVo;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;

/**
 * Mapper 接口
 * 
 * @Author zhouhuajin
 * @Version 1.0, 2018-09-28
 * @See
 * @Since com.jkoss.wine.shop.mapper
 * @Description: TODO
 */
public interface ShopMapper extends BaseMapper<Shop> {

	Integer getMaxShopNum();

	String getShopAllFunction();

	List selectVoByPage(Page page, @Param("ew") Wrapper wrapper);

	List selectVoByshopListPage(Page page, @Param("ew") Wrapper wrapper, String fwtm);

	List selectVoByShopOrderListPage(Page page, @Param("ew") Wrapper wrapper);

	ShopVo selectVoById(String id);

}
